package logic;

public class Accion {
	private int ifuente;
	private int jfuente;
	private int idestino;
	private int jdestino;
	
	public Accion(int ifuente, int jfuente, int idestino, int jdestino) {
		this.ifuente = ifuente;
		this.jfuente = jfuente;
		this.idestino = idestino;
		this.jdestino = jdestino;
	}
	public int getIfuente() {
		return ifuente;
	}
	public void setIfuente(int ifuente) {
		this.ifuente = ifuente;
	}
	public int getJfuente() {
		return jfuente;
	}
	public void setJfuente(int jfuente) {
		this.jfuente = jfuente;
	}
	public int getIdestino() {
		return idestino;
	}
	public void setIdestino(int idestino) {
		this.idestino = idestino;
	}
	public int getJdestino() {
		return jdestino;
	}
	public void setJdestino(int jdestino) {
		this.jdestino = jdestino;
	}
	@Override
	public String toString() {
		return "Accion = (" + ifuente + "," + jfuente
				+ ") --> (" + idestino + "," + jdestino + ")";
	}
	public String toString2() {
		return "(" + ifuente + "," + jfuente
				+ ") - (" + idestino + "," + jdestino + ")";
	}
	
	
}
